<?php get_header(); ?>

<div id="contentwrapper">
    <div id="leftcolumn">
        <div id="topleftboxcontainer">
            <div class="contentboxtabs">
                <ul>                        
                    <li><a href="javascript:void(null)" class="selected">Post</a></li>                        
                </ul>
            </div>
            <div class="contentbox">
                <div id="postbox">
                    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

                            <div class="post" id="post-<?php the_ID(); ?>">
                                <div class="postdate"><?php the_time('F jS, Y') ?></div>
                                <h1 class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a>
                                </h1>
                                <div class="postauthor"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/author.png" alt="author" style="vertical-align: middle;" /> <?php the_author() ?></div>
                                <div class="postcomments"><?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_number('Add comment', '1 Comment', '% Comments' ); ?></div>
                                <div class="postcats"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/tag.png" alt="categories" style="vertical-align: middle;" /> <?php the_category(','); ?></div>
                                <div class="postcontent">
                                    <?php the_content('Read the rest of this entry &raquo;'); ?>
                                </div>
                            </div>                            
                        <?php endwhile; ?>
                        <div class="navigation">
                            <div class="alignleft"><?php next_post_link('&laquo; %link', 'Previous Post') ?></div>
                            <div class="alignright"><?php previous_post_link('%link &raquo;', 'Next Post') ?></div>
                        </div> 
                    <?php else : ?>

                        <h2 class="center">Not Found</h2>
                        <p class="center">Sorry, but you are looking for something that isn't here.</p>

                    <?php endif; ?>                        
                </div>                    
            </div>
        </div>

        <?php comments_template(); ?>                

    </div> <!-- LEFTCOLUMN -->  
    
    <?php get_sidebar(); ?>
    
</div> <!-- CONTENTWRAPPER -->  

<?php get_footer(); ?>
